﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZuluTrade.Graphic
{
    // Standard data object representing a Chart Point
    public class ChartPoint
    {
        private DateTime xValue;
        private Double yValue;
        // X
        public DateTime XValue {
            get {
                return xValue;
            }
            set {
                xValue = value;
            }
        }
        // Y
        public Double YValue {
            get {
                return yValue;
            }
            set {
                yValue = value;
            }
        }
        // label
        public String Label {
            get;
            private set;
        }

        // constructor
        public ChartPoint(DateTime xVal, Double yVal, String label) {
            xValue = xVal;
            yValue = yVal;
            Label = label;
        }
    }
}
